package io;

import java.util.ArrayList;
import java.util.List;

/**
 * @author galen
 */
public class BookTest {
	public static void main(String[] args) {
    	BookClass book1 = new BookClass(1001, "C语言中文网Java教程", 159);
    	BookClass book2 = new BookClass(1002, "C语言中文网C++教程", 259);
    	List<BookClass> books = new ArrayList<BookClass>();
	
    	books.add(book1);
    	books.add(book2);
    	BookClass.write(books);
    	System.out.println("********************图书信息******************");
    	BookClass.read();
	}
}
